<?php
session_start();
unset($_SESSION['admin_email']);
unset($_SESSION['admin_name']);

echo "退出成功。<a href='login.php'>前往登录页面</a>";